<?php
/**
 *@file reportlist.php
 *@author YangLiu
 *@date 2015-7-13 ����14:13:22
 *@brief  
 */
namespace haibao\cms\data;


class Reportlist extends \haibao\cms\data\BaseMysql{
    
	public function __construct() {
		parent::__construct ( '\haibao\cms\model\data\comment\commentreportlog' );
	}
	
	public function getUserNameById($id){
	    
	    $this->setConfig( \haibao\classlibrary\cms\Config::CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_DZ3 );
	    
	    $result = $this->query("select * from auth_user where Id=%s", array($id))->fetch_assoc();

	    return $result;
	}
}